class Solution(object):
    def searchArray(self, array, target):
        """
        :type array: List[List[int]]
        :type target: int
        :rtype: bool
        """
        for i in range(len(array)):
            for j in range(len(array[i])):
                if array[i][j] == target:
                    return True
        return False
        